package com.lrs.java.j2se_self.collection;

import java.util.*;
public class EnhancerFor {
	public static void main(String[] args){
		
		int[] i = {1,3,5,7,9,11};
		Collection c = new ArrayList();
		c.add(new Name("dfa","sdfs"));
		c.add(new Name("fdadf","fdaf"));
		c.add("fasdaf");
	/*	
		Set s = new HashSet();
		s.add(new Name("f1","s1"));
		s.add("helloWorld");
		s.add(new Name("f1","s1"));
		s.add("HelloWorld");
		System.out.println(s);
	*/	
		for(int j : i){
			System.out.println(j);
		}
		
		for(Object o : c){
			System.out.println(o);
		}
	}
}
